package com.hyl.domain.activity.service;

import com.hyl.domain.activity.model.entity.MarketProductEntity;
import com.hyl.domain.activity.model.entity.TrialBalanceEntity;
import com.hyl.domain.activity.model.entity.UserGroupBuyOrderDetailEntity;
import com.hyl.domain.activity.model.valobj.TeamStatisticVO;
import org.springframework.stereotype.Service;

import java.util.LinkedList;
import java.util.List;

/**
 * @author hyl
 * @description
 * @create 2025-06-15 16:11
 */
@Service
public interface IIndexGroupBuyMarketService {


    TrialBalanceEntity indexGroupBuyMarket(MarketProductEntity marketProductEntity) throws Exception;

    /*TrialBalanceEntity indexMarketTrial(MarketProductEntity build);*/

    List<UserGroupBuyOrderDetailEntity> queryInProgressUserGroupBuyOrderDetailList(Long activityId, String userId, Integer ownerCount, Integer randomCount);



    TeamStatisticVO queryTeamStatisticByActivityId(Long activityId);
}
